package com.iraeta.dao.main;

import com.iraeta.entity.main.ErpgqRdrecord32;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ErpgqRdrecord32Dao {
    int deleteByPrimaryKey(Long autoid);
    int insert(ErpgqRdrecord32 record);
    int updateByPrimaryKey(ErpgqRdrecord32 record);
    ErpgqRdrecord32 selectByPrimaryKey(Long autoid);
    List<ErpgqRdrecord32> selectTopRecord();
    List<ErpgqRdrecord32> selectByCinvcodeAndXsOrderId(@Param("cinvcode") String cinvcode, @Param("iordercode") String iordercode);
}